package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.constant.FeignConstant;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(FeignConstant.PROEUCT_SERVICE)
public interface ProductFeignService {
    @RequestMapping(FeignConstant.CONTROLLER_PROEUCT_SKUINFO + FeignConstant.METHOD_PROEUCT_SKUINFO_INFO)
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
